package cn.ynrcb.personnelfile.sysadmin.vo;

import cn.ynrcb.personnelfile.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class AuditVo {
    /**
     * 主键ids
     */
    @ApiModelProperty(value = "主键ids", name = "ids", example = "1,2,3", required = true)
    @NotNull(message = "主键ids不能为空", groups = {UpdateGroup.class})
    private String ids;

    /**
     * 审核状态
     */
    @ApiModelProperty(value = "审核状态", name = "auditStatus", example = "1", required = true)
    @NotNull(message = "审核状态不能为空", groups = {UpdateGroup.class})
    private Integer auditStatus;

    /**
     * 审核备注
     */
    @ApiModelProperty(value = "审核备注", name = "remark", example = "审核原因", required = true)
    @NotNull(message = "审核备注不能为空", groups = {UpdateGroup.class})
    private String remark;

    /**
     * 协会编号
     */
    @ApiModelProperty(value = "协会编号", name = "coding", example = "FDC", required = false)
    private String coding;
}
